package com.zjxd.business.web.model.mapper;

import com.zjxd.business.web.model.pojo.TAResource;
import com.zjxd.business.web.model.pojo.TAResourceExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;
public interface TAResourceMapper {
    long countByExample(TAResourceExample example);

    int deleteByExample(TAResourceExample example);

    int deleteByPrimaryKey(String resourceId);

    int insert(TAResource record);

    int insertSelective(TAResource record);

    List<TAResource> selectByExample(TAResourceExample example);

    TAResource selectByPrimaryKey(String resourceId);

    int updateByExampleSelective(@Param("record") TAResource record, @Param("example") TAResourceExample example);

    int updateByExample(@Param("record") TAResource record, @Param("example") TAResourceExample example);

    int updateByPrimaryKeySelective(TAResource record);

    int updateByPrimaryKey(TAResource record);
    
    //获得用户资源模块
    List<TAResource> getListByUserid(Long userid);
}